package com.lanyou.cook.upload.service;

import javax.servlet.http.HttpServletRequest;

import com.lanyou.cook.upload.entity.TCookBuParamSet;

/**
 * 为文件上传提供服务
 * @author ly-lihailang
 *
 */
public interface UploadFileService {
	/**
	 * @param paramName
	 *            获取文件保存路径的参数名
	 * @return 对应paramName的参数实例
	 */
	public TCookBuParamSet getFilePath(String paramName);

	/**
	 * @param servletRequest
	 *            请求参数保存实例
	 * @return 上传文件结果
	 */
	public String upLoadFile(HttpServletRequest servletRequest);
}
